*{
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}
body{
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right,#4158d0,#ffcc70,#c850c0);
}
.glass{
    font-size: 100px;
    font-weight: bold;
    background: linear-gradient(to right,#ffcc70,#4158d0,#c850c0);
    /* 如果想要将渐变的颜色设置到文字上 就需要设置下面的属性 */
    -webkit-background-clip: text;
    color: transparent;
}
.card{
    position: absolute;
    width: 600px;
    height: 350px;
    border-radius: 20px;
    /* 想要实现玻璃拟态就需要有一个从坐上到右下的渐变 ,模糊*/
    background: linear-gradient(to right bottom,rgba(255,255,255,0.6),rgba(255,255,255,0.1));
    /* 模糊 */
    backdrop-filter: blur(8px);
    box-shadow: 10px 10px 20px rgba(0,0,0,0.2);

}

